package com.fstec.ks.master.netty;

import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener;

import com.sinotn.SinotnLogger;

@SuppressWarnings("rawtypes")
public class DefaultListener implements GenericFutureListener {

	public DefaultListener(){}

	@Override
	public void operationComplete(Future future) throws Exception {
		Throwable e=future.cause();
		if(e!=null){
			SinotnLogger.DEBUG.error("发送消息发生系统错误",e);
		}
	}
}
